export interface PageDto {
    currentPage: number
    pageNum: number
    pageSize: number
}

export interface BaseResDto {
    code: number
    data: string
}

export interface PageResDto<res> {
    pageNum: number
    pageSize: number
    total: number
    totalCount: number
    totalPage: number
    list: res[]
    hasNextPage: boolean
}

// 枚举获取
export interface EnumDto {
    label: string
    value: string | number
    isCustom?: boolean
}

export interface OptionDto {
    label?: string
    value: string | number | boolean
    children?: OptionDto[]
    disabled?: boolean
    item?: any
}
